package com.aaa.system.service;

import com.aaa.entity.Role;
import com.aaa.system.vo.RoleVo;
import com.aaa.vo.Result;
import com.baomidou.mybatisplus.core.metadata.IPage;

import java.util.List;
import java.util.Map;

/**
 * @program: his-open-parent
 * @description:
 * @author: 闫克起2
 * @create: 2023-03-22 09:48
 **/
public interface RoleService {
    public Result<List<Role>> getAll() ;

    Result<Map<String,Object>> findByUserId(Long userId);

    Result<String> confirmRole(Long userId, Long[] roleIds);

    Result<IPage<Role>> getByPage(Integer currentPage, Integer pageSize, RoleVo roleVo);
}
